'use strict';
const db = uniCloud.database()
const coll = db.collection('info')
exports.main = async (event, context) => {
	console.log(event)
	let res = await coll.where({_id:event.userID}).update({qrcode:event.qrcode})
	return res
};
